Set equalizer points to create new frequency bands.
bool SetEqualizerPoints(array<int> ^% FreqPointArray, int NumberOfPoints);
Parameters |
Description |
array<int> ^% FreqPointArray |
Array of integers specifying frequency points to divide whole frequency range into bands. You have frequency range from 0 Hz to SampleRate/2 Hz. You need to specify frequency points to divide this range into bands. One point will divide range into 2 bands, 2 points will divide range into 3 bands ... |
int NumberOfPoints |
Number of points in FreqPointArray array. |
Return Values |
Description |
True |
All OK. |
False |
Error. To get error message read here. |
New instance of interface has 10 default equalizer bands.
int FreqPoint[9] = {115, 240, 455, 800, 2000, 4500, 9000, 13000, 15000};
Note: There is no limit on number of bands.
Create new 10 bands.
array<int> ^EqPoints = gcnew array<int>(9) {100, 200, 300, 1000, 2000, 3000, 5000, 7000, 12000}; player->SetEqualizerPoints(EqPoints, 9);
Copyright (c) 2010. Zoran Cindori - All rights reserved.
Web: http://libzplay.sourceforge.net/ Email: zcindori@inet.hr |